VMS Help  —  PASCAL  Data Types, Ordinal  Standard Uns Radix
  Extended digit notation allows you to express  unsigned  integer
  values in terms of a base number.  VSI Pascal accepts numbers in
  bases 2 through 36.

  Syntax:

     [[ + | - ]] base-number#[[']]extended-digit[[']]

  The 'base-number' specifies the base of the number.

  The 'extended-digit' specifies the notation that is  appropriate
  for the specified base.

  You can use extended-digit notation in the same way you use  the
  conventional    unsigned    integer    notation,   except   that
  extended-digit values cannot be used as labels.

  VSI Pascal allows the  use  of  spaces  and  tabs  to  make  the
  extended-digit notation easier to read.  To use spaces and tabs,
  enclose the extended digit in single quotation marks (' ').  The
  following  are  unsigned  integer  values  in the extended-digit
  notation:

       16#80000000
       16#'8000 0000'
       16#'FFFF FFFF'

1  –  Nonstandard Uns Radix

  VSI Pascal provides another extended integer convention only for
  the   sake  of  compatibility  with  previous  versions  of  the
  language.  This notation specifies an unsigned integer in either
  binary  (base  2),  octal  (base  8),  or  hexadecimal (base 16)
  notation.

  Syntax:
                   b
     [[ + | - ]] % o [[']]extended-digit[[']]
                   x

  The 'b', 'o', or 'x' specifies  binary,  octal,  or  hexidecimal
  notation, respectively.

  The 'extended-digit' specifies the notation that is  appropriate
  for the specified base.

  The following are unsigned integer  values  in  the  VSI  Pascal
  specific notation:

     %x'8000 0000'
     %x'FFFF FFFF'
Close Help